/**
 * @Date 2023-02-04 17:19:26
 * @Remark
 */

// react
import { lazy } from "react";
// lib
import { SettingOutlined } from "@ant-design/icons";
// config
// interface
// 其它

const routeModule: AppRouteItem = {
  name: "系统管理",
  path: "system",
  icon: SettingOutlined,
  code:"system",
  children: [
  
    {
      name: "账号管理",
      path: "system/admin",
      component: lazy(() => import("../../app/System/Admin")),
      code:"admin:list"
    },
    {
      name: "分类管理",
      path: "system/category",
      component: lazy(() => import("../../app/System/Category")),
      code:"category:list"
    },
    {
      name: "书源管理",
      path: "system/source",
      component: lazy(() => import("../../app/System/Source")),
      code:"source:list"
    },
    {
      name: "房间管理",
      path: "system/room",
      component: lazy(() => import("../../app/System/Room")),
      code:"room:list"
    },
    {
      name: "书架管理",
      path: "system/shelf",
      component: lazy(() => import("../../app/System/Shelf")),
    },
    {
      name: "角色管理",
      path: "system/role",
      component: lazy(() => import("../../app/System/Role")),
      code:"role:list"
    },
    {
      name: "日志管理",
      path: "system/log",
      component: lazy(() => import("../../app/System/Log")),
    },
  ],
};

export default routeModule;
